Skip to main content
Version: 8.4.10.2

OptionPrint2

V8 Message Definiton

The most recent (last) print record for each active equity and future option series. Quote markup represents quote that existed just prior to the print on the reporting exchange.

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenClientLive
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI0
okey_mnTINYINT UNSIGNEDPRI0
okey_dyTINYINT UNSIGNEDPRI0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
prtExchenum - OptExch'None'
prtSizeINT0print size contracts
prtPriceFLOAT0print price
prtClusterNumINT0incremental print cluster counter one counter per okey used to group prints into clusters
prtClusterSizeINT0cumulative size of prints in this sequence sequence of prints same or more aggressive price with less than 25 ms elapsing since first print can span exchanges
prtTypeenum - PrtType'None'print type
printCodesVARCHAR(18)''European trade condition codes
prtOrdersSMALLINT UNSIGNED0number of participating orders
prtVolumeINT0day print volume in contracts regular electronic AUTO REOP MESL TESL
oosVolumeINT0day print volume reported out of sequence not regular way electronic OSEQ LATE OPEN OPNL
isoVolumeINT0day ISO sweep volume ISOI
slaVolumeINT0single leg aution volume SLAN SLAI
mlaVolumeINT0multi leg auction volume MLAT TLAT MASL TASL
crxVolumeINT0day electronic cross volume no exposure period SLCN SCLI MLCT TLCT
flrVolumeINT0day exchange floor volume SLFT MLFT MFSL TLFT TFSL CMBO
mlgVolumeINT0multileg complex volume MLET TLET
uknVolumeINT0other uncategorized volume
cxlVolumeINT0day printcancel volume num of contracts printed and then cancelled CANC CNCL CNCO CNOL
totalVolumeINT0total day volume
bidCountSMALLINT UNSIGNED0number of bid prints
askCountSMALLINT UNSIGNED0number of ask prints
bidVolumeINT0bid print volume in contracts
askVolumeINT0ask print volume in contracts
ebidFLOAT0exchange bid print time
easkFLOAT0exchange ask print time
ebszINT0exchange bid size
easzINT0exchange ask size
eageFLOAT0age of prevailing quote at time of print
prtSideenum - PrtSide'None'implied print side based on ebideask and nbbo market
prtTimestampBIGINT0exchange high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switchusually syncronized with facility grandfather clock
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
okey_tk1
okey_yr2
okey_mn3
okey_dy4
okey_xx5
okey_cp6
okey_at7
okey_ts8

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgOptionPrint2` (
`okey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`okey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`okey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`okey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`okey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_xx` DOUBLE NOT NULL DEFAULT 0,
`okey_cp` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call',
`prtExch` ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') NOT NULL DEFAULT 'None',
`prtSize` INT NOT NULL DEFAULT 0 COMMENT 'print size [contracts]',
`prtPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'print price',
`prtClusterNum` INT NOT NULL DEFAULT 0 COMMENT 'incremental print cluster counter (one counter per okey; used to group prints into clusters)',
`prtClusterSize` INT NOT NULL DEFAULT 0 COMMENT 'cumulative size of prints in this sequence (sequence of prints @ same or more aggressive price with less than 25 ms elapsing since first print; can span exchanges)',
`prtType` ENUM('None','CANC','OSEQ','CNCL','LATE','CNCO','OPEN','CNOL','OPNL','AUTO','REOP','ISOI','SLAN','SLAI','SLCN','SCLI','SLFT','MLET','MLAT','MLCT','MLFT','MESL','TLAT','MASL','MFSL','TLET','TLCT','TLFT','TESL','TASL','TFSL','CBMO','MCTP','EXHT') NOT NULL DEFAULT 'None' COMMENT 'print type',
`printCodes` VARCHAR(18) NOT NULL DEFAULT '' COMMENT 'European trade condition codes',
`prtOrders` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of participating orders',
`prtVolume` INT NOT NULL DEFAULT 0 COMMENT 'day print volume in contracts (regular, electronic) [AUTO, REOP, MESL, TESL]',
`oosVolume` INT NOT NULL DEFAULT 0 COMMENT 'day print volume reported out of sequence (not regular way electronic) [OSEQ, LATE, OPEN, OPNL]',
`isoVolume` INT NOT NULL DEFAULT 0 COMMENT 'day ISO sweep volume [ISOI]',
`slaVolume` INT NOT NULL DEFAULT 0 COMMENT 'single leg aution volume [SLAN, SLAI]',
`mlaVolume` INT NOT NULL DEFAULT 0 COMMENT 'multi leg auction volume [MLAT, TLAT, MASL, TASL]',
`crxVolume` INT NOT NULL DEFAULT 0 COMMENT 'day electronic cross volume (no exposure period) [SLCN, SCLI, MLCT, TLCT]',
`flrVolume` INT NOT NULL DEFAULT 0 COMMENT 'day exchange floor volume [SLFT, MLFT, MFSL, TLFT, TFSL, CMBO]',
`mlgVolume` INT NOT NULL DEFAULT 0 COMMENT 'multi-leg (complex) volume [MLET, TLET]',
`uknVolume` INT NOT NULL DEFAULT 0 COMMENT 'other (uncategorized) volume',
`cxlVolume` INT NOT NULL DEFAULT 0 COMMENT 'day print/cancel volume (num of contracts printed and then cancelled) [CANC, CNCL, CNCO, CNOL]',
`totalVolume` INT NOT NULL DEFAULT 0 COMMENT 'total day volume',
`bidCount` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of bid prints',
`askCount` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of ask prints',
`bidVolume` INT NOT NULL DEFAULT 0 COMMENT 'bid print volume in contracts',
`askVolume` INT NOT NULL DEFAULT 0 COMMENT 'ask print volume in contracts',
`ebid` FLOAT NOT NULL DEFAULT 0 COMMENT 'exchange bid (@ print time)',
`eask` FLOAT NOT NULL DEFAULT 0 COMMENT 'exchange ask (@ print time)',
`ebsz` INT NOT NULL DEFAULT 0 COMMENT 'exchange bid size',
`easz` INT NOT NULL DEFAULT 0 COMMENT 'exchange ask size',
`eage` FLOAT NOT NULL DEFAULT 0 COMMENT 'age of prevailing quote at time of print',
`prtSide` ENUM('None','Mid','Bid','Ask') NOT NULL DEFAULT 'None' COMMENT 'implied print side (based on ebid/eask and nbbo market)',
`prtTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch;usually syncronized with facility grandfather clock',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`okey_tk`,`okey_yr`,`okey_mn`,`okey_dy`,`okey_xx`,`okey_cp`,`okey_at`,`okey_ts`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='The most recent (last) print record for each active equity and future option series. Quote markup represents quote that existed just prior to the print on the reporting exchange.';

SELECT TABLE EXAMPLE QUERY

SELECT
`okey_at`,
`okey_ts`,
`okey_tk`,
`okey_yr`,
`okey_mn`,
`okey_dy`,
`okey_xx`,
`okey_cp`,
`prtExch`,
`prtSize`,
`prtPrice`,
`prtClusterNum`,
`prtClusterSize`,
`prtType`,
`printCodes`,
`prtOrders`,
`prtVolume`,
`oosVolume`,
`isoVolume`,
`slaVolume`,
`mlaVolume`,
`crxVolume`,
`flrVolume`,
`mlgVolume`,
`uknVolume`,
`cxlVolume`,
`totalVolume`,
`bidCount`,
`askCount`,
`bidVolume`,
`askVolume`,
`ebid`,
`eask`,
`ebsz`,
`easz`,
`eage`,
`prtSide`,
`prtTimestamp`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgOptionPrint2`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`okey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`okey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`okey_tk` = 'Example_okey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`okey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`okey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`okey_dy` = 1
AND
/* Replace with a DOUBLE */
`okey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`okey_cp` = 'Call';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='OptionPrint2' ORDER BY ordinal_position ASC;